﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title</title>
    <link rel="shortcut icon" type="~/Content/image/header_logo.png" href="~/Content/image/header_logo.png" />
    @Html.Action("Meta", "Home")
    <link rel="stylesheet" href="~/Content/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="~/Content/layui/css/layui.css" />
    <link rel="stylesheet" href="~/Content/css/master.css" />
    <link rel="stylesheet" href="~/Content/css/gloable.css" />
    <link rel="stylesheet" href="~/Content/css/nprogress.css" />
    <style>
        .layui-flow-more {
            text-align: center;
            color: #999;
            font-size: 14px;
            padding: 10px 0;
            background-color: #fff;
            border-radius: 0 0 20px 20px;
            margin:0;
        }
    </style>
    @RenderSection("css", required: false)
</head>
<body>
    @Html.Action("Head", "Home")
    @RenderBody()
    @Html.AntiForgeryToken()
    @Html.Action("Foot", "Home")

    <!--jQuery v3.3.1CDN-->
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>

    <!--板娘动态效果-->
    <script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"></script>
    <script src="~/Content/js/L2Dwidget.js"></script>

    <!--音乐播放器API-->
    @*<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer@1.10.0/dist/APlayer.min.css">
        <script src="https://blog-static.cnblogs.com/files/yjlaugus/APlayer.min.js"></script>
         <div id="aplayer" class="aplayer" data-id="865331941" data-server="netease" data-type="playlist" data-fixed="true" data-listfolded="true" data-order="random" data-theme="#F58EA8"></div>
        <script src="https://unpkg.com/meting@1.2/dist/Meting.min.js"></script>*@
    <!--音乐播放器API END-->
    <!-- 鼠标点击特效 -->
    <script src="~/Content/js/cursor-effects.js"></script>

    <!--雪花效果-->
    <script src="~/Content/js/snow.js"></script>

    <!--JS获取本地IP-->
    <script src="https://pv.sohu.com/cityjson?ie=utf-8"></script>

    <!--jquery.cookie-->
    <script src="https://cdn.bootcss.com/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>

    <!--防XSS脚本攻击 脚本CDN-->
    <script src="https://cdn.bootcss.com/js-xss/0.3.3/xss.min.js"></script>

    <script src="~/Content/layui/layui.js"></script>
    <script src="~/Content/js/yss/gloable.js"></script>
    <script src="~/Content/js/plugins/nprogress.js"></script>
    <script>NProgress.start();</script>
    @RenderSection("js", required: false)
    <script>
        window.onload = function () {
            NProgress.done();
        };
    </script>
    <script>
        layui.use(['jquery'], function () {
            var $ = layui.jquery;
            var openid = $.cookie('openid');
            var nickname = $.cookie('nickname');
            var figureurl_qq = $.cookie('figureurl_qq');
            if (openid != undefined && "" != openid) {
                $(".blog-user").attr("href", "/QQUser/QQLogOut");
                $(".blog-user>i").hide();
                $(".blog-user>img").attr("src", figureurl_qq);
                $(".blog-user>img").attr("alt", nickname);
                $(".blog-user>img").attr("title", nickname);
                $(".blog-user>img").show();
            }
        });
    </script>   
    <!--鼠标点击文字-->
    @*<script>
            layui.use(['jquery'], function () {
                var $ = layui.jquery;
                //定义获取词语下标
                var a_idx = 0;
                $(document).ready(function ($) {
                    //点击body时触发事件
                    $("body").click(function (e) {
                        //需要显示的词语
                        var a = new Array("富强", "民主", "文明", "和谐", "自由", "平等", "公正", "法治", "爱国", "敬业", "诚信", "友善");
                        //设置词语给span标签
                        var $i = $("<span/>").text(a[a_idx]);
                        //下标等于原来下标+1  余 词语总数
                        a_idx = (a_idx + 1) % a.length;
                        //获取鼠标指针的位置，分别相对于文档的左和右边缘。
                        //获取x和y的指针坐标
                        var x = e.pageX, y = e.pageY;
                        //在鼠标的指针的位置给$i定义的span标签添加css样式
                        $i.css({
                            "z-index": 999,
                            "top": y - 20,
                            "left": x,
                            "position": "absolute",
                            "font-weight": "bold",
                            "color": rand_color()
                        });
                        // 随机颜色
                        function rand_color() {
                            return "rgb(" + ~~(255 * Math.random()) + "," + ~~(255 * Math.random()) + "," + ~~(255 * Math.random()) + ")"
                        }
                        //在body添加这个标签
                        $("body").append($i);
                        //animate() 方法执行 CSS 属性集的自定义动画。
                        //该方法通过CSS样式将元素从一个状态改变为另一个状态。CSS属性值是逐渐改变的，这样就可以创建动画效果。
                        //详情请看http://www.w3school.com.cn/jquery/effect_animate.asp
                        $i.animate({
                            //将原来的位置向上移动180
                            "top": y - 180,
                            "opacity": 0
                            //1500动画的速度
                        }, 1500, function () {
                            //时间到了自动删除
                            $i.remove();
                        });
                    });
                })
                ;
            })
        </script>*@

    <!--百度站长平台链接索引的自动提交-->
    <script>
        //(function () {
        //    var bp = document.createElement('script');
        //    var curProtocol = window.location.protocol.split(':')[0];
        //    if (curProtocol === 'https') {
        //        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        //    }
        //    else {
        //        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        //    }
        //    var s = document.getElementsByTagName("script")[0];
        //    s.parentNode.insertBefore(bp, s);
        //})();
        (function () {
            var canonicalURL, curProtocol;
            //Get the <link> tag
            var x = document.getElementsByTagName("link");
            //Find the last canonical URL
            if (x.length > 0) {
                for (i = 0; i < x.length; i++) {
                    if (x[i].rel.toLowerCase() == 'canonical' && x[i].href) {
                        canonicalURL = x[i].href;
                    }
                }
            }
            //Get protocol
            if (!canonicalURL) {
                curProtocol = window.location.protocol.split(':')[0];
            }
            else {
                curProtocol = canonicalURL.split(':')[0];
            }
            //Get current URL if the canonical URL does not exist
            if (!canonicalURL) canonicalURL = window.location.href;
            //Assign script content. Replace current URL with the canonical URL
            !function () {
                var e = /([http|https]:\/\/[a-zA-Z0-9\_\.]+\.baidu\.com)/gi,
                    r = canonicalURL, t = document.referrer;
                if (!e.test(r)) {
                    var n = (String(curProtocol).toLowerCase() === 'https') ? "https://sp0.baidu.com/9_Q4simg2RQJ8t7jm9iCKT-xh_/s.gif" : "//api.share.baidu.com/s.gif";
                    t ? (n += "?r=" + encodeURIComponent(document.referrer), r && (n += "&l=" + r)) : r && (n += "?l=" + r); var i = new Image; i.src = n
                }
            }(window);
        })();
    </script>
</body>
</html>